<template>
  <div>
    <van-button type="primary" @click="handleCount">{{ count.num }}</van-button>
  </div>
</template>

<script setup>
import { useCount } from '../store/count';
const count = useCount()
const handleCount = ()=>{
  count.num++
}
</script>

<style lang="scss" scoped>

</style>